<?php
$this->breadcrumbs=array(
    Yii::t('site','Wiki Pages')=>array('index'),
    $model->title,
    Yii::t('site','View'),
);
$this->pageTitle=$model->title;

$this->menu=array(
    array('label'=>Yii::t('site','Item'),'items'=>array(
        array('label'=>Yii::t('site','Update Wiki Page'), 'url'=>array('update', 'id'=>$model->id)),
        array('label'=>Yii::t('site','Export as SQL Script'), 'url'=>array('exportDBChangeScript', 'id'=>$model->id)),
        array('label'=>Yii::t('site','Delete Wiki Page'), 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
    )),
    array('label'=>Yii::t('site','All Items'),'items'=>array(
        array('label'=>Yii::t('site','Create New Wiki Page'), 'url'=>array('create')),
        array('label'=>Yii::t('site','List Wiki Pages'), 'url'=>array('index')),
        array('label'=>Yii::t('site','Manage Wiki Pages'), 'url'=>array('admin')),
    )),
);
?>

<?php $this->renderPartial('_view', array(
    'data'=>$model,
    'show_content' => isset($show_content) ? $show_content : false
)); ?>
